package com.hjc.springbootstudyweb.service;

import com.hjc.springbootstudyweb.entity.UsersModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: HJC
 * Date: 2019/11/30
 * Time: 16:46
 * To change this template use File | Settings | File Templates.
 */
public interface UsersService {

    List<UsersModel> queryAll();
    UsersModel queryById(@Param("uid")String uid,@Param("password")String password);
    int addUsers(UsersModel usersModel);
    int deleteUsers(@Param("utid")int utid);
}
